package com.ruoyi.basic.domain;

import com.baomidou.mybatisplus.annotation.*;

import javax.validation.constraints.NotBlank;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.mybatisplus.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

/**
 * 教育经历对象 basic_educate
 * 
 * @author ruoyi
 * @date 2021-08-22
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("basic_educate")
public class BasicEducate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教育id */
    @TableId(type = IdType.AUTO)
    private Long educateId;

    private Long userId;

    @TableField(exist = false)
    private String userNo;

    @TableField(exist = false)
    @Excel(name = "员工姓名")
    private String userName;

    @TableField(exist = false)
    @Excel(name = "身份证号")
    private String idCard;

    @TableField(exist = false)
    private Long deptId;

    /** 学校名称 */
    @NotBlank(message = "学校名称不能为空")
    @Excel(name = "学校名称")
    private String schoolName;

    /** 学历名称 */
    @Excel(name = "学历", dictType = "basic_educate_name", comboDict = "basic_educate_name")
    private String educateName;

    /** 学位 */
    @Excel(name = "学位", dictType = "basic_educate_degree", comboDict = "basic_educate_degree")
    private String educateDegree;

    /** 专业 */
    @Excel(name = "专业")
    private String educateMajor;

    /** 学历类型 */
    @Excel(name = "学历类型", dictType = "basic_educate_type", comboDict = "basic_educate_type")
    private String educateType;

    /** 院校类型 */
    @Excel(name = "院校类型", dictType = "basic_school_type", comboDict = "basic_school_type")
    private String schoolType;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 删除标志 */
    @TableLogic
    private String delFlag;

}
